#include "http_server.hpp"

int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        std::cout<<"Usage:\n\t./http_server port"<<std::endl;
        exit(1);
    }
    ns_Http::HttpServer hs(atoi(argv[1]));
    hs.InitHttpServer();
    hs.Loop();
    return 0;
}